package factory_pattern;

public abstract class PizzaStore {
	public Pizza orderPizza(int number,int size){
		Pizza pizza;
		pizza = createPizza(number,size);
		pizza.prepare();
		pizza.getPizza();
		return pizza;
	}
	protected abstract Pizza createPizza(int number,int size);
}
